import { combineReducers } from '@reduxjs/toolkit';

import menuReducer from './menu.reducer';
import userReducer from './user.reducer';

const reducers = combineReducers({
  menu: menuReducer.reducer,
  user: userReducer.reducer,
});

export const actions = {
  menu: menuReducer.actions,
  user: userReducer.actions,
};

export default reducers;
